package com.example.mybatis.service;

import com.example.mybatis.domain.Book;
import com.sun.org.apache.xpath.internal.operations.Bool;
import org.springframework.stereotype.Service;

import java.util.List;


public interface IBookService {
    List<Book> selectAll();
    List<Book> getByName(String name);

    Boolean addBook(Book book);
    Boolean delBook(Integer id);
    Boolean updateBook(Book book);
}
